﻿using System;
using System.ComponentModel.DataAnnotations;
using YaAppoint.Appointments.Schedules;

namespace YaAppoint.Appointments.TimeIntervals
{
    /// <summary>
    /// 预约时段Dto
    /// </summary>
    public class TimeIntervalDto
    {
        [Key]
        public Guid Id { get; set; }

        public string? Code { get; set; }

        public bool IsActive { get; set; }

        public long Order { get; set; }

        public string StartTime { get; set; }

        public string EndTime { get; set; }

        public string? Name { get; set; }

        public ScheduleDto Schedule {get;set;}

        public Guid ScheduleId { get; set; }
    }
}
